Finally getting around to checkin per Havoc. This is the fix for bug 51782.
2001-03-18 Mike Kestner <mkestner@ameritech.net>
* make-inline-pixbuf.c (main): Added logic to remove output when
failures occur.
+2001-03-18 Mike Kestner <mkestner@ameritech.net>
+
+ * make-inline-pixbuf.c (main): Added logic to remove output when
+ failures occur.
+
2001-03-14 Havoc Pennington <hp@redhat.com>
* Makefile.am (gdk-pixbuf-marshal.c): Use different temporary file
{
gboolean ext_symbols = FALSE;
FILE *outfile;
+ gchar *outfilename;
int i;
g_type_init (0);
exit (1);
}
+ outfilename = argv[i];
++i;
fputs ("/* This file was automatically generated by the make-inline-pixbuf program.\n"
if (pixbuf == NULL)
{
fprintf (stderr, "%s\n", error->message);
-
+ fclose (outfile);
+ remove (outfilename);
exit (1);
}